<{include file="wiget/header.tpl"}>
<{include file="wiget/navbar.tpl"}>
<div id='left'></div>
<div id='content' class="span8">
<div>
	<h3><{$book.title}></h3>
	<ul>
	<{foreach $catalog as $v}>
		<li><a href="/book/<{$book.id}>/<{$v.section_id}>" target="_blank">
		<{if '' eq $v.title}><{$v.title_en}><{else}>
		<{$v.title}>
		<{/if}>
		</a><{if $power}>&nbsp; &nbsp; <a href="/edit/book/?b=<{$book.id}>&s=<{$v.section_id}>">编辑</a><{/if}></li>
	<{/foreach}>
	</ul>
</div>
<{if $power}>
<div>
	<h3>还没发布的章节:</h3>
	<ul>
	<{foreach $hide_catalog as $v}>
		<li><a href="/book/<{$book.id}>/<{$v.section_id}>" target="_blank">
		<{if '' eq $v.title}><{$v.title_en}><{else}>
		<{$v.title}>
		<{/if}>
		</a>&nbsp; &nbsp; <a href="/edit/book/?b=<{$book.id}>&s=<{$v.section_id}>">编辑</a></li>
	<{/foreach}>
	</ul>
</div>
<{/if}>

</div>
<{include file="wiget/footer.tpl"}>